package com.littlec.sdk.entity.messagebody;

import java.util.List;

import android.os.Parcel;
import android.os.Parcelable;

public class AtTextMessageBody extends MessageBody {
	private String messageContent;
	private List<String> atUsernames;
	public static final Parcelable.Creator<AtTextMessageBody> CREATOR = new Parcelable.Creator() {
		public AtTextMessageBody createFromParcel(Parcel paramAnonymousParcel) {
			return new AtTextMessageBody(paramAnonymousParcel);
		}

		public AtTextMessageBody[] newArray(int paramAnonymousInt) {
			return new AtTextMessageBody[paramAnonymousInt];
		}
	};

	public List<String> getAtUsernames() {
		return this.atUsernames;
	}

	private AtTextMessageBody(Parcel paramParcel) {
		this.messageContent = paramParcel.readString();
	}

	public void writeToParcel(Parcel paramParcel, int paramInt) {
		paramParcel.writeString(this.messageContent);
	}

	public AtTextMessageBody(String message, List<String> atUsernames) {
		this.messageContent = message;
		this.atUsernames = atUsernames;
	}

	public String getMessageContent() {
		return this.messageContent;
	}

	public int describeContents() {
		return 0;
	}

	public String getContent() {
		return getMessageContent();
	}
}
